//
//  PieChartView.h
//  GuBoShi
//
//  Created by 袁斌 on 2017/3/27.
//  Copyright © 2017年 YiShi. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol PieChartViewDataSource <NSObject>

@required
- (NSArray<UIColor *> *)pieChartViewAreaFillColors;
- (NSArray<NSDecimalNumber *> *)pieChartViewAreaDataValues;
@end

@interface PieChartView : UIView

@property (nonatomic, weak) id<PieChartViewDataSource> dataSource;
- (void)reloadData;
@end
